/**
 * @Author: wenjunjay
 * @Date: 2025/1/17 22:34:36
 * @LastEditors: wenjunjay
 * @LastEditTime: 2025/1/17 22:34:36
 * Description: 
 * Copyright: Copyright (©) 2025 wenjunjay. All rights reserved.
 */

// 分类页面的api接口
import request from "@/utils/request"
export function getCategoryAPI (id) {
    return request({
      url: '/category',
      params: {
        id
      }
    })
  }
/**
 * 分类页面的轮播图
 * @param {*} distributionSite 
 * @returns 
 */
  export function getBannerAPI (distributionSite="1") {
    // console.log("distributionSite:",distributionSite); 
    return request({
      url: '/home/banner',
      params: {
        distributionSite
      }
    })
  }  
